package com.beta.elephant.constant;

/**
 * @Auther: pcc
 * @Date: 2021/11/5 16:31
 * @Description:
 */
public enum ErrorCodeEnum implements IRetCode {
    OK("000000", "成功"),

    //=====系统级公共错误码=========
    SYSTEM_ERROR("002999", "系统异常");

    private String code;
    private String msg;

    ErrorCodeEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getMsg() {
        return msg;
    }
}
